package vo
{
	import flash3.net.ByteArrayPlus;
	
	public class UserScore implements ISocket
	{
		public var lScore:int;						//积分：毛豆/汽油等
		public var lWinCount:uint;					//胜利盘数
		public var lLostCount:uint;				//失败盘数
		public var lDrawCount:uint;				//和局盘数
		public var lFleeCount:uint;				//断线数目
		public var lExperience:int;				//用户经验
		public var lMoneyGold:int;					//用户游戏币 对应的金币
		public var lGoldScore:int;					//财富:金币
		
		public function UserScore():void
		{
		}
		
		public function read(bap:ByteArrayPlus):void
		{
			lScore		= bap.readInt();
			lWinCount	= bap.readUnsignedInt();
			lLostCount	= bap.readUnsignedInt();
			lDrawCount	= bap.readUnsignedInt();
			lFleeCount	= bap.readUnsignedInt();
			lExperience	= bap.readUnsignedInt();
			lMoneyGold	= bap.readInt();
			lGoldScore	= bap.readInt();
		}
		public function write(bap:ByteArrayPlus):void
		{
			
		}
	}
}